<template>
  <button @click="increment">counter: {{ count }}</button>
</template>
<script setup>
import { ref } from 'vue'

const count = ref(0)
const increment = () => {
  count.value++
}
</script>